package com.qm.console.dao.model;

import lombok.Data;

import java.util.Date;

@Data
public class CommentAuditDO {
    private Integer id;

    private Long commentId;

    private String targetContentId;

    private Integer userId;

    private String nickname;

    private String createTimestamp;

    private String message;

    private Integer automatic;

    private Long replayUserId;

    private String replayUserNickname;

    private Date updateTime;

    private Integer status;

    private Integer gender;

    public String getMessage() {
        return message;
    }

    public Integer getAutomatic() {
        return automatic;
    }

    public Integer getGender() {
        return gender;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public void setAutomatic(Integer automatic) {
        this.automatic = automatic;
    }

    public void setGender(Integer gender) {
        this.gender = gender;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Long getCommentId() {
        return commentId;
    }

    public void setCommentId(Long commentId) {
        this.commentId = commentId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname == null ? null : nickname.trim();
    }

    public String getCreateTimestamp() {
        return createTimestamp;
    }

    public void setCreateTimestamp(String createTimestamp) {
        this.createTimestamp = createTimestamp == null ? null : createTimestamp.trim();
    }

    public Long getReplayUserId() {
        return replayUserId;
    }

    public void setReplayUserId(Long replayUserId) {
        this.replayUserId = replayUserId;
    }

    public String getReplayUserNickname() {
        return replayUserNickname;
    }

    public void setReplayUserNickname(String replayUserNickname) {
        this.replayUserNickname = replayUserNickname == null ? null : replayUserNickname.trim();
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", commentId=").append(commentId);
        sb.append(", userId=").append(userId);
        sb.append(", nickname=").append(nickname);
        sb.append(", createTimestamp=").append(createTimestamp);
        sb.append(", replayUserId=").append(replayUserId);
        sb.append(", replayUserNickname=").append(replayUserNickname);
        sb.append(", updateTime=").append(updateTime);
        sb.append(", status=").append(status);
        sb.append(", automatic=").append(automatic);
        sb.append(", message=").append(message);
        sb.append("]");
        return sb.toString();
    }
}
